package com.work.device.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_device")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Device implements Serializable {
    @Id
    private Long id; //设备id
    private String code; //设备编码
    private String name; //设备名称
    private String type; //设备类型
    private Long price; //设备价格
    private String brand; //设备品牌
    private String model; //设备型号
    private String scenarios; //应用场景
    private String image; //设备图片
    private String images; //设备图片集合

}
